CC=gcc

all: encrypt caesar decrypt 

clean:
	rm caesar; rm encrypt.o; rm decrypt;

encrypt: encrypt.c
	$(CC) -c encrypt.c -Wall

caesar: caesar.c encrypt
	$(CC) -o caesar caesar.c encrypt.o

decrypt: decrypt.c encrypt
	$(CC) -o decrypt decrypt.c encrypt.o
